package com.combat.text.user.service;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.combat.text.user.entity.Dept;
import com.combat.text.user.entity.user;
import com.combat.text.user.mapper.DeptMapper;
import com.combat.text.user.mapper.usermapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author KangJx
 * @date 2020/12/15
 */
@Service
public class DeptService {

    @Autowired
    DeptMapper deptMapper;
    @Autowired
    usermapper umapper;

    public List<Dept> list(){
       return deptMapper.selectList(null);
    }
    public List<user> show(){
        return umapper.selectList(null);
    }



}
